/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.testis.utils.tree;

/**
 * 
 * @author selcuk
 */
public enum TristateState {

    SELECTED {

	@Override
	public TristateState next() {
	    return INDETERMINATE;
	}
    },
    INDETERMINATE {

	@Override
	public TristateState next() {
	    return DESELECTED;
	}
    },
    DESELECTED {

	@Override
	public TristateState next() {
	    return SELECTED;
	}
    };

    public abstract TristateState next();
}